<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-CPP: TProgressCircle类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-CPP
   </div>
   <div id="projectbrief">AWTK CPP API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_t_progress_circle-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TProgressCircle类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a>&gt;</code></p>
<div class="dynheader">
类 TProgressCircle 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_progress_circle.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a19721be63878129a00e6d407c833683e"><td class="memItemLeft" align="right" valign="top"><a id="a19721be63878129a00e6d407c833683e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TProgressCircle</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a19721be63878129a00e6d407c833683e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01fe31c2bd43a2206e7ff0625d38e360"><td class="memItemLeft" align="right" valign="top"><a id="a01fe31c2bd43a2206e7ff0625d38e360"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TProgressCircle</b> (const progress_circle_t *nativeObj)</td></tr>
<tr class="separator:a01fe31c2bd43a2206e7ff0625d38e360"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5efdc4e70f509f65aefeb6c06bf36aff"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a5efdc4e70f509f65aefeb6c06bf36aff">SetValue</a> (float_t value)</td></tr>
<tr class="separator:a5efdc4e70f509f65aefeb6c06bf36aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef638f93b62989117c074a525e8534c9"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#aef638f93b62989117c074a525e8534c9">SetMax</a> (uint32_t max)</td></tr>
<tr class="separator:aef638f93b62989117c074a525e8534c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1d68698fa7d43e07193dd25e14ad52a"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#ab1d68698fa7d43e07193dd25e14ad52a">SetLineWidth</a> (uint32_t line_width)</td></tr>
<tr class="separator:ab1d68698fa7d43e07193dd25e14ad52a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff533461eca2271fa4070c315512201"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#acff533461eca2271fa4070c315512201">SetStartAngle</a> (int32_t start_angle)</td></tr>
<tr class="separator:acff533461eca2271fa4070c315512201"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c2925ae8d2ef70e1df06343baa709fe"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a6c2925ae8d2ef70e1df06343baa709fe">SetUnit</a> (const char *unit)</td></tr>
<tr class="separator:a6c2925ae8d2ef70e1df06343baa709fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e8f2af91d84b66bc183f331b902f89a"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a3e8f2af91d84b66bc183f331b902f89a">SetLineCap</a> (const char *line_cap)</td></tr>
<tr class="separator:a3e8f2af91d84b66bc183f331b902f89a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa59bbbfe3dbc463596ca78b9857b8f3c"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#aa59bbbfe3dbc463596ca78b9857b8f3c">SetShowText</a> (bool show_text)</td></tr>
<tr class="separator:aa59bbbfe3dbc463596ca78b9857b8f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa62b2f0fad7ceaef323b02b219388a0c"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#aa62b2f0fad7ceaef323b02b219388a0c">SetCounterClockWise</a> (bool counter_clock_wise)</td></tr>
<tr class="separator:aa62b2f0fad7ceaef323b02b219388a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaeb524480ed6590cec545024cd0927b"><td class="memItemLeft" align="right" valign="top">float_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#aaaeb524480ed6590cec545024cd0927b">GetValue</a> () const</td></tr>
<tr class="separator:aaaeb524480ed6590cec545024cd0927b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95551328f3f91b5d3c7d0ca0357ea68e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a95551328f3f91b5d3c7d0ca0357ea68e">GetMax</a> () const</td></tr>
<tr class="separator:a95551328f3f91b5d3c7d0ca0357ea68e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cad96817c8f5d6bffb8b2056630e270"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a2cad96817c8f5d6bffb8b2056630e270">GetStartAngle</a> () const</td></tr>
<tr class="separator:a2cad96817c8f5d6bffb8b2056630e270"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b6f44c7efef1d1de6f1bd7067c76822"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a1b6f44c7efef1d1de6f1bd7067c76822">GetLineWidth</a> () const</td></tr>
<tr class="separator:a1b6f44c7efef1d1de6f1bd7067c76822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a781f8c75f2f22bcbbaa18656a1332283"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a781f8c75f2f22bcbbaa18656a1332283">GetUnit</a> () const</td></tr>
<tr class="separator:a781f8c75f2f22bcbbaa18656a1332283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a4978be6400678d35cd93065bb6b560"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a6a4978be6400678d35cd93065bb6b560">GetLineCap</a> () const</td></tr>
<tr class="separator:a6a4978be6400678d35cd93065bb6b560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7863e6262513ce6391f813511400cac1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a7863e6262513ce6391f813511400cac1">GetCounterClockWise</a> () const</td></tr>
<tr class="separator:a7863e6262513ce6391f813511400cac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b9ec8a9812a40395a43ac19dd967746"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a1b9ec8a9812a40395a43ac19dd967746">GetShowText</a> () const</td></tr>
<tr class="separator:a1b9ec8a9812a40395a43ac19dd967746"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a705243dfff6435c56abf221a79ee485d"><td class="memItemLeft" align="right" valign="top"><a id="a705243dfff6435c56abf221a79ee485d"></a>
static <a class="el" href="class_t_progress_circle.html">TProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a705243dfff6435c56abf221a79ee485d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b6fd93dfa3607e2d31427dd922ef3e0"><td class="memItemLeft" align="right" valign="top"><a id="a5b6fd93dfa3607e2d31427dd922ef3e0"></a>
static <a class="el" href="class_t_progress_circle.html">TProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const widget_t *nativeObj)</td></tr>
<tr class="separator:a5b6fd93dfa3607e2d31427dd922ef3e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c14c5acbbdac6c4320de6ea75769dee"><td class="memItemLeft" align="right" valign="top"><a id="a4c14c5acbbdac6c4320de6ea75769dee"></a>
static <a class="el" href="class_t_progress_circle.html">TProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (TWidget &amp;obj)</td></tr>
<tr class="separator:a4c14c5acbbdac6c4320de6ea75769dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bff85310c07bac6e4b0968453623ec9"><td class="memItemLeft" align="right" valign="top"><a id="a8bff85310c07bac6e4b0968453623ec9"></a>
static <a class="el" href="class_t_progress_circle.html">TProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const TWidget &amp;obj)</td></tr>
<tr class="separator:a8bff85310c07bac6e4b0968453623ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f3cf673a0bbe80c104a0578de391b7c"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_progress_circle.html#a9f3cf673a0bbe80c104a0578de391b7c">Create</a> (TWidget &amp;parent, xy_t x, xy_t y, wh_t w, wh_t h)</td></tr>
<tr class="separator:a9f3cf673a0bbe80c104a0578de391b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>进度圆环控件。</p>
<p>progress_circle_t是widget\_t的子类控件，widget_t的函数均适用于progress_circle_t控件。</p>
<p>在xml中使用"progress\_circle"标签创建进度圆环控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">progress_circle</span> <span class="keyword">max</span>=<span class="stringliteral">&quot;360&quot;</span> <span class="keyword">show_text</span>=<span class="stringliteral">&quot;true&quot;</span> <span class="keyword">start_angle</span>=<span class="stringliteral">&quot;90&quot;</span> /&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/ui/progress_circle.xml">progress_circle.xml</a></p>
<p>在c代码中使用函数progress_circle_create创建进度圆环控件。如：</p>
<blockquote class="doxtable">
<p>完整示例请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk-c-demos/blob/master/demos/progress_circle.c">progress_circle demo</a></p>
<p>可用通过style来设置控件的显示风格，如字体的大小和颜色等等。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">style</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;default&quot;</span>&gt;</div>
<div class="line">*&lt;<span class="keywordtype">normal</span> <span class="keyword">text_color</span>=<span class="stringliteral">&quot;green&quot;</span> <span class="keyword">fg_color</span>=<span class="stringliteral">&quot;black&quot;</span> /&gt;</div>
<div class="line">*&lt;/<span class="keywordtype">style</span>&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/styles/default.xml#L467">theme default</a> </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a9f3cf673a0bbe80c104a0578de391b7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f3cf673a0bbe80c104a0578de391b7c">&#9670;&nbsp;</a></span>Create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TWidget TProgressCircle::Create </td>
          <td>(</td>
          <td class="paramtype">TWidget &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xy_t&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xy_t&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建progress_circle对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a7863e6262513ce6391f813511400cac1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7863e6262513ce6391f813511400cac1">&#9670;&nbsp;</a></span>GetCounterClockWise()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TProgressCircle::GetCounterClockWise </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否为逆时针方向(缺省为FALSE)。 </p>

</div>
</div>
<a id="a6a4978be6400678d35cd93065bb6b560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a4978be6400678d35cd93065bb6b560">&#9670;&nbsp;</a></span>GetLineCap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char * TProgressCircle::GetLineCap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>线帽类型(round:圆头，square:方头)。 </p>

</div>
</div>
<a id="a1b6f44c7efef1d1de6f1bd7067c76822"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b6f44c7efef1d1de6f1bd7067c76822">&#9670;&nbsp;</a></span>GetLineWidth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t TProgressCircle::GetLineWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>环线的厚度(缺省为8)。 </p>

</div>
</div>
<a id="a95551328f3f91b5d3c7d0ca0357ea68e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95551328f3f91b5d3c7d0ca0357ea68e">&#9670;&nbsp;</a></span>GetMax()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t TProgressCircle::GetMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>最大值(缺省为100)。 </p>

</div>
</div>
<a id="a1b9ec8a9812a40395a43ac19dd967746"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b9ec8a9812a40395a43ac19dd967746">&#9670;&nbsp;</a></span>GetShowText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TProgressCircle::GetShowText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否显示文本(缺省为TRUE)。 </p>

</div>
</div>
<a id="a2cad96817c8f5d6bffb8b2056630e270"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cad96817c8f5d6bffb8b2056630e270">&#9670;&nbsp;</a></span>GetStartAngle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t TProgressCircle::GetStartAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>起始角度(单位为度，缺省-90)。 </p>

</div>
</div>
<a id="a781f8c75f2f22bcbbaa18656a1332283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a781f8c75f2f22bcbbaa18656a1332283">&#9670;&nbsp;</a></span>GetUnit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char * TProgressCircle::GetUnit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>单元(缺省无)。 </p>

</div>
</div>
<a id="aaaeb524480ed6590cec545024cd0927b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaeb524480ed6590cec545024cd0927b">&#9670;&nbsp;</a></span>GetValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float_t TProgressCircle::GetValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>值(缺省为0)。 </p>

</div>
</div>
<a id="aa62b2f0fad7ceaef323b02b219388a0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa62b2f0fad7ceaef323b02b219388a0c">&#9670;&nbsp;</a></span>SetCounterClockWise()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetCounterClockWise </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>counter_clock_wise</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置是否为逆时针方向。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">counter_clock_wise</td><td>是否为逆时针方向。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a3e8f2af91d84b66bc183f331b902f89a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e8f2af91d84b66bc183f331b902f89a">&#9670;&nbsp;</a></span>SetLineCap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetLineCap </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>line_cap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置线帽类型。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_cap</td><td>线帽类型(round:圆头，square:方头)。。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ab1d68698fa7d43e07193dd25e14ad52a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1d68698fa7d43e07193dd25e14ad52a">&#9670;&nbsp;</a></span>SetLineWidth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetLineWidth </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>line_width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置环线的厚度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_width</td><td>环线的厚度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aef638f93b62989117c074a525e8534c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef638f93b62989117c074a525e8534c9">&#9670;&nbsp;</a></span>SetMax()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetMax </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置最大值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>最大值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aa59bbbfe3dbc463596ca78b9857b8f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa59bbbfe3dbc463596ca78b9857b8f3c">&#9670;&nbsp;</a></span>SetShowText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetShowText </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show_text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置是否显示文本。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">show_text</td><td>是否显示文本。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="acff533461eca2271fa4070c315512201"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff533461eca2271fa4070c315512201">&#9670;&nbsp;</a></span>SetStartAngle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetStartAngle </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>start_angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置起始角度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">start_angle</td><td>起始角度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a6c2925ae8d2ef70e1df06343baa709fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c2925ae8d2ef70e1df06343baa709fe">&#9670;&nbsp;</a></span>SetUnit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetUnit </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>unit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置单位。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">unit</td><td>单位。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a5efdc4e70f509f65aefeb6c06bf36aff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5efdc4e70f509f65aefeb6c06bf36aff">&#9670;&nbsp;</a></span>SetValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TProgressCircle::SetValue </td>
          <td>(</td>
          <td class="paramtype">float_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a></li>
<li>output/awtk_cpp.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
